<template>
    <OrderShow :id="id"></OrderShow>
</template>

<script>
export default {
    validate({ params }) {
        // 必须是number类型
        return /^\d+$/.test(params.id)
    },
    data() {
        return {
            id:0,
        }; 
    },
    methods: {

    },
    created () {
        this.id = this.$route.params.id;
        console.log("中转页面id",this.id)
    }
};
</script>
<style>
    
</style>